tests: Fix incorrect `summary --update` usage in test-local-pull.sh
authorPhilip Withnall <withnall@endlessm.com>
Fri, 23 Jun 2017 20:44:29 +0000 (21:44 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 27 Jun 2017 19:19:32 +0000 (19:19 +0000)
Previously the spurious ‘update’ atom was ignored; now that `ostree
summary --update` accepts extra arguments as additional metadata, it’s
causing an error. Drop it.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #961
Approved by: cgwalters

tests/test-local-pull.sh

index 43b96010c48a9b2705757b6172f393fa7e75190b..1c9767f621cf159b97d76195bda2b67455556d5c 100755 (executable)
@@ -84,13 +84,13 @@ if ${CMD_PREFIX} ostree --repo=repo6 pull-local --remote=origin --gpg-verify-sum
     assert_not_reached "GPG summary verification with no summary unexpectedly succeeded"
 fi
 
-${OSTREE} summary -update
+${OSTREE} summary --update
 
 if ${CMD_PREFIX} ostree --repo=repo6 pull-local --remote=origin --gpg-verify-summary repo test2 2>&1; then
     assert_not_reached "GPG summary verification with signed no summary unexpectedly succeeded"
 fi
 
-${OSTREE} summary -update --gpg-sign=${TEST_GPG_KEYID_1} --gpg-homedir=${TEST_GPG_KEYHOME}
+${OSTREE} summary --update --gpg-sign=${TEST_GPG_KEYID_1} --gpg-homedir=${TEST_GPG_KEYHOME}
 
 ${CMD_PREFIX} ostree --repo=repo6 pull-local --remote=origin --gpg-verify-summary repo test2 2>&1